param
(
    [string]
    $solutionPath,
    [string]
    $projectDir
)

write-host "solutionPath: $solutionPath"
Write-Host "projectPath: $projectDir"

$antlrPath = join-path $solutionPath -childpath "ExternalTools\ANTLR-3.1\Antlr3.exe"
$grammarPath = join-path $projectDir -childpath "Grammar\IvashenkoConfig.g"
invoke-expression "$antlrPath $grammarPath"